module.exports = (router, controller) => {
    router.post('/signup', controller.auth.signUp.bind(controller.auth));
    router.post('/login', controller.auth.login.bind(controller.auth));

    // dictionary
    router.post('/dict', controller.dictionary.create.bind(controller.dictionary));
    router.post('/dict/update', controller.dictionary.modify.bind(controller.dictionary));
    router.post('/dict/query', controller.dictionary.query.bind(controller.dictionary));
    router.get('/dict/:id/delete', controller.dictionary.delete.bind(controller.dictionary));
    router.get('/schedule/query', controller.schedule.query.bind(controller.schedule));
    router.get('/schedule/queryClass', controller.schedule.queryClass.bind(controller.schedule));
    router.post('/schedule/queryScore', controller.schedule.queryScore.bind(controller.schedule));
    router.get('/schedule/queryPoint', controller.schedule.queryPoint.bind(controller.schedule));
    router.get('/schedule/queryDifficulty', controller.schedule.queryDifficulty.bind(controller.schedule));
    router.get('/schedule/queryMethodologe', controller.schedule.queryMethodologe.bind(controller.schedule));
    router.post('/schedule/create', controller.schedule.create.bind(controller.schedule));
};